package spring.rabbitmq;

import java.io.Serializable;

/**
 * @author ZCW
 * @createTime 2018/5/2
 * @lastUpdateTime 2018/5/2 ZCW
 */
public class User implements Serializable{
    private static final long serialVersionUID = -4731326195678504565L;
    String name;
    Integer age;

    public User() {
    }

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
